package com.gla.market.entity;

import java.sql.Date;
import java.util.List;

public class OrderResponse {
    private Order order;
    private List<OrderDetailResponse> list;

    public OrderResponse() {
    }

    public OrderResponse(Order order, List<OrderDetailResponse> list) {
        this.order = order;
        this.list = list;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public List<OrderDetailResponse> getList() {
        return list;
    }

    public void setList(List<OrderDetailResponse> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "OrderResponse{" +
                "order=" + order +
                ", list=" + list +
                '}';
    }
}

